package com.pan.basic;

public class Simple1 {

    public static void main(String[] args) {

        int i =10;
        int j =20;
        int num = calculate(i,j);
        System.out.println(num);
    }

    private static int calculate(int i,int j) {
        i++;
        int sum = i+j;
        return sum;
    }
}
